import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/store.js'
import axios from 'axios'
import './assets/global.css'

import { Form, FormItem, Input, Button, Message, Menu, MenuItem, Submenu, Table, TableColumn, Dialog, Tag, Card, Select, Option, Row, Col, InputNumber, Notification, Pagination, DatePicker, Upload } from 'element-ui'
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Button)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Submenu)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Dialog)
Vue.use(Tag)
Vue.use(Card)
Vue.use(Select)
Vue.use(Option)
Vue.use(Row)
Vue.use(Col)
Vue.use(InputNumber)
Vue.use(Pagination)
Vue.use(DatePicker)
Vue.use(Upload)
Vue.prototype.$message = Message
Vue.prototype.$notify = Notification

Vue.config.productionTip = false
axios.defaults.baseURL = 'http://localhost:8888'
Vue.prototype.$http = axios

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
